package top.hundreds.oasys.bean.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import lombok.experimental.SuperBuilder;
import top.hundreds.common.crud.bean.BaseEntity;

/**
 * (Menu)实体类
 *
 * @author lcf
 * @since 2021-03-13 15:20:56
 */
@Data
@SuperBuilder
@NoArgsConstructor
@AllArgsConstructor
@EqualsAndHashCode(callSuper = true)
@TableName("t_menu")
public class Menu extends BaseEntity {

    /**
     * 菜单名
     */
    private String name;

    /**
     * 路由名称
     */
    private String route;

    /**
     * 父权限id
     */
    private Long parentId;

    /**
     * 禁用状态 0 表示启用 1 表示禁用
     */
    private Integer status;

}
